Addendum to A Distributed Implementation of a Task

نویسندگان

  • Peter Hofstee
  • Johan J. Lukkien
  • Jan L. A. van de Snepscheut
چکیده

The algorithm given on page 6 may deadlock because communications do not follow the directedness of the tree but may occur in either direction. The algorithm, and its proof, are correct if we restrict ourselves to trees, rather than RDAG`s. RDAG's ((1]) do not contain directed cycles, but may contain cycles. In those cases the algorithm, and the 'proof' of the absence of deadlock on p.7 are incorrect. We now introduce a version of the algorithm which will operate correctly on any RDAG. First we note that whenever deadlock occurs, at least one process is dedicated to a communication with a predecessor in the RDAG. We therefore allow the main process to commit to a communication with a successor only, and require only that the condition under which a communication with a predecessor was originally initiated, lead to a communication at some point in the future. A more formal speciication of this problem, and an elegant solution are given in a note at the end of this section. We also modiied the guards according to the remark on page 7. The program can be found in Figure 1. In some cases communications are used for synchronization only. In those cases the variable communicated is irrelevant and has been replaced by a dot. The channels are (OUT ij ; I N ji) for all pairs i; j that satisfy p-edge ij _p-edge ji , and (TO ij ; F ROM ji) for all pairs i; j that satisfy p-edge ij. For those last i and j we have introduced variables op ij in process P i to keep track of the value of p i last communicated from process P i to process P j. The variables q ij hold the values of the p j last communicated by process P j. We need the following invariant: (8i; j : p-edge ij : q ji = op ij). The invariant holds initially and holds on every repetition of the rst outermost do construct because the innermost do loop establishes p i = q ji and therefore the following assignment op ij := p i reestablishes the invariant. Finally, the other statements do not change q ij or op ij. We check the three requirements, but in a diierent order : (0)". There is no deadlock. We assume that all communications between the taskpool and its corresponding C i terminate. Since these …

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Static Task Allocation in Distributed Systems Using Parallel Genetic Algorithm

Over the past two decades, PC speeds have increased from a few instructions per second to several million instructions per second. The tremendous speed of today's networks as well as the increasing need for high-performance systems has made researchers interested in parallel and distributed computing. The rapid growth of distributed systems has led to a variety of problems. Task allocation is a...

متن کامل

Hybrid Meta-heuristic Algorithm for Task Assignment Problem

Task assignment problem (TAP) involves assigning a number of tasks to a number of processors in distributed computing systems and its objective is to minimize the sum of the total execution and communication costs, subject to all of the resource constraints. TAP is a combinatorial optimization problem and NP-complete. This paper proposes a hybrid meta-heuristic algorithm for solving TAP in a ...

متن کامل

A new Shuffled Genetic-based Task Scheduling Algorithm in Heterogeneous Distributed Systems

Distributed systems such as Grid- and Cloud Computing provision web services to their users in all of the world. One of the most important concerns which service providers encounter is to handle total cost of ownership (TCO). The large part of TCO is related to power consumption due to inefficient resource management. Task scheduling module as a key component can has drastic impact on both user...

متن کامل

Influence of Addendum Modification Factor on Root Stresses in Normal Contact Ratio Asymmetric Spur Gears

Tooth root crack is considered as one of the crucial causes of failure in the gearing system and it occurs at the tooth root due to an excessive bending stress developed in the root region. The modern power transmission gear drives demand high bending load capacity, increased contact load capacity, low weight, reduced noise and longer life. These subsequent conditions are satisfied by the aid o...

متن کامل

Iranian English Language Teachers’ Perception of Task-based Language Teaching (TBLT) Principles and Challenges to its Implementation

This paper presents the findings of a study on Iranian  English language teachers’ understanding of  Task-based language teaching (TBLT) principles and  perceived challenges of TBLT implementation in Iran. The data obtained from 100 respondents on a 39-item survey instrument and four essay questions analyzed through frequency statistics revealed that nearly 70 percent of teachers are cognizant ...

متن کامل

Power Management in a Utility Connected Micro-Grid with Multiple Renewable Energy Sources

As an efficient alternative to fossil fuels, renewable energy sources have attained great attention due to their sustainable, cost-effective, and environmentally friendly characteristic. However, as a deficiency, renewable energy sources have low reliability because of their non-deterministic and stochastic generation pattern. The use of hybrid renewable generation systems along with the storag...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1991